import request from "@/utils/http"
import type { Goods } from'@/types/Goods'

// 获得商品详细信息
export const getGoodsByIdApi = (skuId: number) => {
  return request<Goods>({
    url:`pms/front/info/${skuId}`,
    method:'GET',
  })
}